﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace Nightlife.Models
{
    public class SpotModel
    {
        [Key]
        [Required]
        public int ID { get; set; }

        [Required]
        public string Name { get; set; }

        [Required]
        public DateTime Created { get; set; }

        [Required]
        public bool Deleted { get; set; }

        [Required]
        public bool IsPublic { get; set; }

        public virtual ICollection<Checkin> Checkins { get; set; }
        public virtual ICollection<SpotCommentModel> Comments { get; set; }
        public virtual ICollection<SpecialModel> Specials { get; set; }
    }
}